package yunhe.entity;

public class PurchaseAppend {
	private int purId;
	private Purchase purchase;
	private Product product;
	private int purQuantity;
	private double purDiscount;
	private double purTotal;
	private Storage storage;
	private double purPrice;
	
	public PurchaseAppend() {
		
	}
	public PurchaseAppend(int purId, Purchase purchase, Product product,
			int purQuantity, double purDiscount, double purTotal,
			Storage storage,double purPrice) {
		this.purId = purId;
		this.purchase = purchase;
		this.product = product;
		this.purQuantity = purQuantity;
		this.purDiscount = purDiscount;
		this.purTotal = purTotal;
		this.storage = storage;
		this.purPrice=purPrice;
	}
	
	public double getPurPrice() {
		return purPrice;
	}
	public void setPurPrice(double purPrice) {
		this.purPrice = purPrice;
	}
	public int getPurId() {
		return purId;
	}
	public void setPurId(int purId) {
		this.purId = purId;
	}
	public Purchase getPurchase() {
		return purchase;
	}
	public void setPurchase(Purchase purchase) {
		this.purchase = purchase;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public int getPurQuantity() {
		return purQuantity;
	}
	public void setPurQuantity(int purQuantity) {
		this.purQuantity = purQuantity;
	}
	public double getPurDiscount() {
		return purDiscount;
	}
	public void setPurDiscount(double purDiscount) {
		this.purDiscount = purDiscount;
	}
	public double getPurTotal() {
		return purTotal;
	}
	public void setPurTotal(double purTotal) {
		this.purTotal = purTotal;
	}
	public Storage getStorage() {
		return storage;
	}
	public void setStorage(Storage storage) {
		this.storage = storage;
	}
	
}
